#pragma once
#include <string>
#include <nice2d/component.h>

class Tag : public Component
{
public:
    Tag(NodePointer object = nullptr);
    virtual ~Tag();
public:
    void setTag(const std::string &newTag);
    std::string getTag()const;

    bool compare(std::shared_ptr<Tag> other);
    bool compare(const std::string &tag);
private:
    std::string tag;
};
